<!DOCTYPE html>
<html>
	<head>
		<meta charset="utf-8">
		<title></title>
	</head>
	<body>
	<script type="text/javascript">
		let l = prompt("你输入你的级别和你的出单率");
		
		let c = l.split(" ")[0];
		let d = l.split(" ")[1];
		d = parseFloat(d);
		
		d = d > 1 ? (d/100) : d;
		
		 
		let t,k;
		if(c == "A"){
			t = 10000;
		} else if (c == "B") {
			t = 20000;
		} else {
			t = 30000;
		}
		
		
		if (d < 0.5) {
			k = 5000;
		} else if (d > 0.5 && d < 0.7){
			k = 10000;
		} else {
			k = 15000;
		}
		let h = t + k;
		
	
		console.log(h);
	</script>
	</body>
</html>
